-
Notifications
You must be signed in to change notification settings - Fork 25.7k
[Doc] Change PUT to POST _search in semantic-text.md example #134256
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Doc] Change PUT to POST _search in semantic-text.md example #134256
Conversation
Current example of a semantic highlighter query uses a PUT index API, but it should be a search API.
|
@daixque please enable the option "Allow edits and access to secrets by maintainers" on your PR. For more information, see the documentation. |
🔍 Preview links for changed docs |
ℹ️ Important: Docs version tagging👋 Thanks for updating the docs! Just a friendly reminder that our docs are now cumulative. This means all 9.x versions are documented on the same page and published off of the main branch, instead of creating separate pages for each minor version. We use applies_to tags to mark version-specific features and changes. Expand for a quick overviewWhen to use applies_to tags:✅ At the page level to indicate which products/deployments the content applies to (mandatory) What NOT to do:❌ Don't remove or replace information that applies to an older version 🤔 Need help?
|
|
Pinging @elastic/core-docs (Team:Docs) |
|
Pinging @elastic/es-search-relevance (Team:Search Relevance) |
PeteGillinElastic
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR. This looks like a pretty straight-forward copy-and-paste error, so I'm happy to approve the fix.
Current example of a semantic highlighter query uses a PUT index API, but it should be a search API.
Current example of a semantic highlighter query uses a PUT index API, but it should be a search API.
Current example of a semantic highlighter query uses a PUT index API, but it should be a search API.